# 拉取基础镜像
#FROM mirrors.tencent.com/ams_public/tlinux2.2-ams-konajdk:8.0.4-272
# 区发自定义java包 https://git.woa.com/jjjtech/docker-run/tree/master/java-base-image
FROM mirrors.tencent.com/ams_local/tlinux2.2-local-java:1.1

#  启动脚本
COPY tkeStart.sh /data/apps/tkeStart.sh
RUN echo "Asia/Shanghai" > /etc/timezone

COPY tdw-server/target/tdw-server-0.0.1-SNAPSHOT.jar /data/apps/app.jar

EXPOSE 8080

CMD ["/bin/sh", "/data/apps/tkeStart.sh"]